<tagLib name="strends" />
<include file="Public:header" />
<script type="text/javascript" src="__TMPL__Static/Js/adv.js"></script>
<div class="handle-btns">
	<strends:linkBtn text="{%RETURN_LIST}" href="{:U(MODULE_NAME.'/index')}" />
</div>
<form method='post' id="form" name="form" action="{:U(MODULE_NAME.'/update')}" enctype="multipart/form-data">
	<input type="hidden" name="id" value="{$vo.id}" />
	<table cellpadding="4" cellspacing="0" border="0" class="table-form">
		<tr>
			<th width="150">活动</th>
			<td>
				<select name="activity_id" id="">
					<?php foreach($list as $activity){ ?>
					<option value="{$activity.id}">{$activity.name}</option>
					<?php } ?>
				</select>
			</td>
		</tr>
		<tr>
			<th width="150">app_id</th>
			<td><input type="text" class="textinput"  name="app_id" size="60" value="{$vo.app_id}"/></td>
		</tr>
		<tr>
			<th width="150">app_secret</th>
			<td><input type="text" class="textinput"  name="app_secrect" size="60" value="{$vo.app_secrect}"/></td>
		</tr>
		<tr>
			<th width="150">商户号</th>
			<td><input type="text" class="textinput"  name="sh_code" size="60" value="{$vo.sh_code}"/></td>
		</tr>
		<tr>
			<th width="150">商户支付密码</th>
			<td><input type="text" class="textinput"  name="sh_pwd" size="60" value="{$vo.sh_pwd}"/></td>
		</tr>
		<tr>
			<th width="150">服务器IP</th>
			<td><input type="text" class="textinput"  name="server_ip" size="60" value="{$vo.server_ip}"/></td>
		</tr>
		<tr>
			<th width="150">支付证书</th>
			<td><textarea name="pay_cert" id="" cols="30" rows="10">{$vo.pay_cert}</textarea></td>
		</tr>
		<tr>
			<th width="150">支付证书密钥</th>
			<td><textarea name="pay_key" id="" cols="30" rows="10">{$vo.pay_key}</textarea></td>
		</tr>
		<tr>
			<th width="150">根证书</th>
			<td><textarea name="root_cert" id="" cols="30" rows="10">{$vo.root_cert}</textarea></td>
		</tr>
		<tr>
			<th width="150">活动名称</th>
			<td><input type="text" class="textinput"  name="activity_name" size="60" value="{$vo.activity_name}"/></td>
		</tr>
		<tr>
			<th width="150">红包提供商名称</th>
			<td><input type="text" class="textinput"  name="hb_provider" size="60" value="{$vo.hb_provider}"/></td>
		</tr>
		<tr>
			<th width="150">红包祝福语</th>
			<td><input type="text" class="textinput"  name="hb_msg" size="60" value="{$vo.hb_msg}"/></td>
		</tr>
		<tr>
			<th width="150">红包说明</th>
			<td><input type="text" class="textinput"  name="hb_description" size="60" value="{$vo.hb_description}"/></td>
		</tr>

		<tr class="act">
			<th>&nbsp;</th>
			<td>
				<input type="submit" class="submit_btn" value="{%SUBMIT}" />
				<input type="reset" class="reset_btn" value="{%RESET}" />
			</td>
		</tr>
	</table>
</form>
<include file="Public:footer" />